# -*- coding:utf-8 -*-
import sys
from django.db import models

default_encoding = 'utf-8'
if sys.getdefaultencoding() != default_encoding:
	reload(sys)
	sys.setdefaultencoding(default_encoding)
# Create your models here.
class first(models.Model):
	name = models.CharField(max_length=30)
	message = models.CharField(max_length=300)
	time = models.DateField(auto_now_add=True)
	like_count = models.IntegerField(default=0)

class remark(models.Model):
	#name = models.CharField(max_length=30)
	message = models.CharField(max_length=300)
	follow_id = models.CharField(max_length=30)
	time = models.DateField(auto_now_add=True)
